* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 5.33333vw;
}

body {
  background-color: #f1f1f1f1;
}

header .h-d1 {
  display: grid;
  height: 44px;
  width: 18.75rem;
  grid-template-columns: 40px auto 40px;
  background-color: red;
}

header .h-d1 div:nth-child(1) img {
  width: 20px;
  height: 18px;
  margin-top: 14px;
  margin-left: 15px;
}

header .h-d1 div:nth-child(2) div:nth-child(1) {
  border-radius: 30px;
  background-color: white;
  height: 30px;
  position: relative;
  top: 7px;
}

header .h-d1 div:nth-child(2) div:nth-child(1) img {
  width: 20px;
  height: 15px;
  position: relative;
  top: -7px;
}

header .h-d1 div:nth-child(2) div:nth-child(1) .bj1 {
  display: inline-block;
  height: 30px;
  width: 23px;
  background-size: 200px 200px;
  background-position-x: -79px;
  background-position-y: 8px;
  background-image: url(../imagesJD/4.png);
  background-repeat: no-repeat;
}

header .h-d1 div:nth-child(2) div:nth-child(1) input {
  height: 20px;
  width: auto;
  border: none;
  padding-left: 8px;
  position: relative;
  top: -10px;
  border-left: 1px solid #ebe9e9;
}

header .h-d1 div:nth-child(3) {
  font-size: 14px;
}

header .h-d1 div:nth-child(3) a {
  display: block;
  margin-top: 12px;
  color: white;
  text-decoration: none;
}

header .h-d2 {
  width: 18.75rem;
  height: 8.375rem;
}

header .h-d2 .h-d2-d1 {
  width: 18.75rem;
  height: 5.25rem;
  border-bottom-left-radius: 20%;
  border-bottom-right-radius: 20%;
  background-color: red;
  z-index: 0;
}

header .h-d2 .h-d2-d1 .h-d2-d1-d1 {
  width: 17.5rem;
  height: 7rem;
  z-index: 1;
  position: relative;
  left: .55rem;
}

header .h-d2 .h-d2-d1 .h-d2-d1-d1 .lunbo {
  height: 7rem;
  width: 143rem;
  border-radius: .25rem;
  position: absolute;
  overflow: hidden;
  animation: lb 10s 1s infinite;
}

header .h-d2 .h-d2-d1 .h-d2-d1-d1 .lunbo img {
  height: 7rem;
  width: 17.5rem;
  border-radius: .25rem;
}

@keyframes lb {
  0% {
    margin-left: 0rem;
  }
  12% {
    margin-left: -17.5rem;
  }
  25% {
    margin-left: -35rem;
  }
  37% {
    margin-left: -52.5rem;
  }
  50% {
    margin-left: -70rem;
  }
  62% {
    margin-left: -87.5rem;
  }
  75% {
    margin-left: -105rem;
  }
  100% {
    margin-left: -122.5rem;
  }
}

header nav {
  display: grid;
  width: 18.75rem;
  height: 8.1rem;
  grid-template-columns: repeat(5, 3.75rem);
  grid-template-rows: repeat(2, 3.65rem);
}

header nav div a {
  text-decoration: none;
  color: #666;
}

header nav div a img {
  width: 2rem;
  height: 2rem;
  margin-top: .5rem;
  margin-left: .8rem;
}

header nav div a span {
  font-size: .6rem;
  margin-top: .3rem;
  text-align: center;
  display: block;
}

section {
  width: 18.75rem;
}

section aside {
  width: 17.75rem;
  height: 6.95rem;
  border-radius: .25rem;
  margin: auto;
  display: grid;
  gap: .1rem;
  grid-template-columns: repeat(6, 2.85rem);
  grid-auto-rows: 1.75rem 2.75rem 1.95rem;
  background-color: white;
}

section aside .hb1 {
  grid-column: 1\7;
}

section aside img {
  width: 99%;
  height: 100%;
}

section aside .s-a-d-p1 {
  color: red;
  font-size: .65rem;
  text-align: center;
}

section aside .s-a-d-p1 span {
  font-size: .55rem;
  padding-right: .1rem;
}

section aside .s-a-d-p2 {
  color: #999;
  font-size: .6rem;
  text-align: center;
  text-decoration: line-through;
}

section aside .s-a-d-p2 span {
  font-size: .65rem;
}
